package com.codepilot.server.service;

import com.codepilot.server.model.vo.CommonResult;
import com.codepilot.server.model.vo.ProblemVO;

public interface ProblemService {
    
    CommonResult<?> getList(String source, int pageNo, int pageSize);

    CommonResult<?> searchOne(String source, String title);

    CommonResult<?> searchList(String source, String title, int size);

    CommonResult<?> getProblemById(String source, int problemId);

    CommonResult<Integer> getProblemUid(String source, int id);

    CommonResult<ProblemVO> getProblemByUid(int uid);

}
